package com.seasugar.raggie.model.correlation;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CategorySetmeal implements Serializable {
        private Long id;
        private Long categoryId;
        private Long setmealId;

        @TableField(fill = FieldFill.INSERT)
        private LocalDateTime createTime;


        @TableField(fill = FieldFill.INSERT_UPDATE)
        private LocalDateTime updateTime;


        @TableField(fill = FieldFill.INSERT)
        private Long createUser;


        @TableField(fill = FieldFill.INSERT_UPDATE)
        private Long updateUser;

        public CategorySetmeal(Long categoryId, Long setmealId) {
                this.categoryId = categoryId;
                this.setmealId = setmealId;
        }
}
